package com.lidong.lowcode.database.entity.database;

import java.util.List;

/**
 * 唯一键
 *
 * @author LiDong
 * @version 1.0.0
 * @createTime 9/10/2022 10:47 AM
 */
public class DataBaseUniqueKey {

    /**
     * 名称
     */
    private String name;

    /**
     * 列
     */
    private List<DataBaseColumn> columns;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<DataBaseColumn> getColumns() {
        return columns;
    }

    public void setColumns(List<DataBaseColumn> columns) {
        this.columns = columns;
    }

    @Override
    public String toString() {
        return "DataBaseUniqueKey{" +
                "name='" + name + '\'' +
                ", columns=" + columns +
                '}';
    }
}
